package com.adv.ems.manager;

import com.adv.ems.db.entity.EnergyDataCumulateReportHourDO;

import java.util.Date;
import java.util.List;
import java.util.Set;

public interface EnergyDataCumulateReportHourManager {
    void deleteByPointColDate(Long pointId, Date hour);

    void insertData(EnergyDataCumulateReportHourDO reportHour);

    List<EnergyDataCumulateReportHourDO> getAllDataByPonitTime(Long pointId, Date start, Date end);

    List<EnergyDataCumulateReportHourDO> getDataByPointIdsTime(Set<Long> realPointIds, Date time);

    List<EnergyDataCumulateReportHourDO> selectData(Date startDate, Date endDate, List<Long> pointIds);
}
